package com.huatai.datacenter.entity;

import lombok.Data;

/**
 * @author songxiude
 * <p>
 * 大数据写入数据模型
 */
@Data
public class Put {

	private String metric;

	private String aggregator;

	private String interval;

	private Long timestamp;

	private Double value;

	private Tags tags;

	public Put() {
	}

	public Put(String metric, Long timestamp, Double value, Tags tags) {
		this.metric = metric;
		this.timestamp = timestamp;
		this.value = value;
		this.tags = tags;
	}

	public Put(String metric, String aggregator, String interval, Long timestamp, Double value,
               Tags tags) {
		this.metric = metric;
		this.aggregator = aggregator;
		this.interval = interval;
		this.timestamp = timestamp;
		this.value = value;
		this.tags = tags;
	}
}
